package cn.buk.api.shdl.service;

import cn.buk.api.shdl.dto.FlightShoppingDto;
import cn.buk.api.shdl.request.IntlFlightShoppingRequest;
import cn.buk.api.shdl.response.UserTokenResponse;

/**
 * 上海东立的机票服务接口
 * @author yfdai
 */
public interface ShdlFlightService {

  /**
   * 获取用户授权
   * @return
   */
  UserTokenResponse getUserToken();

  /**
   * 查询国际航班
   * @param request 查询请求
   * @param username 用户名
   * @param password 密码
   * @return
   */
  FlightShoppingDto searchFlights(IntlFlightShoppingRequest request, String username, String password);
}
